package ar.com.mooral.pojo;

import ar.com.mooral.crohn.application.CrohnContext;

public abstract class LifeQualityPojo extends BasePojo {


	@Override
	public final String getName() {
		return getActivityName() + " - Incidencia - " + CrohnContext.getLifeQualityIncidenceName(get("incidencia"));
	}

	protected abstract  String getActivityName();

	public String getIncidence(){
		return get("incidencia");
	}
	public void setIncidence(String incidence){
		put("incidencia",incidence);
	}

	@Override
	protected void initialize() {
		super.initialize();
		setIncidence("");
	}
	
	
	
}
